$fonts:30px;
@mixin margins {
  width: 300px; 
  margin: 100px auto;
}
div{
 @include margins;
h3{
    background: red;
    font-size: $fonts;
  }
}
